GdkAppLaunchContext: Use the display name for X11
authorOlivier Fourdan <ofourdan@redhat.com>
Mon, 12 Oct 2015 14:11:11 +0000 (16:11 +0200)
committerOlivier Fourdan <ofourdan@redhat.com>
Tue, 13 Oct 2015 06:39:05 +0000 (08:39 +0200)
commit4398e1246955546c76d7d690cb84b4fa3df03069
tree8e7b9b7f00d862d0fd180a32d1b6ec0527a83f9b
parentab001d01c8274013e66d29a6e58275d819845c3c
GdkAppLaunchContext: Use the display name for X11

Using a NULL GAppInfo with g_app_launch_context_get_display() will
generate a critical warning in gio.

Use the display name instead as we don't have any valid GAppInfo to pass
to g_app_launch_context_get_display().

bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756439
gdk/x11/gdkapplaunchcontext-x11.c